#ifndef __CONFIG_H__
#define __CONFIG_H__

#include "headers.h"

using namespace std;

class Config {
public:
	bool read(const string& file);
	bool hasKey(const string& key) const;
	int getInt(const string& key, int defVal = 0) ;
	string getString(const string& key, const string& defVal = "") ;
private:
	map<string, string> cfgs;
};

#endif